<template>
  <div id="container">
    <el-container>
      <!-- loading -->
      <el-header>
        <a href="/app1">应用1</a>
        <a href="/app2">应用2</a>
      </el-header>
      <el-container>
          <!-- 子应用盒子 -->
          <div id="root-view" class="app-view-box" v-html="content"></div>
      </el-container>
    </el-container>
  </div>
</template>

<script>

export default {
  name: 'App',
  props: {
    loading: Boolean,
    content: String
  },mounted() {
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
